import argparse

def parse_args():
    """parse the command line args

    Returns:
        args: a namespace object including args
    """
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument(
        '--mysql_pwd',
        help='the mysql root password',
        default="12345678"
    )
    parser.add_argument(
        '--db_name',
        help='which database to use',
        default="appdb"
    )

    args = parser.parse_args()
    return args

args = parse_args()
MYSQL_PWD = args.mysql_pwd
DB_NAME = args.db_name

